package cn.tedu.ivos.user.mapper;

import cn.tedu.ivos.user.entity.User ;
import cn.tedu.ivos.user.pojo.dto.UserLoginParam;

import java.util.List;

/**
* @author Administrator
* @description 针对表【user(用户表)】的数据库操作Mapper
* @createDate 2025-08-28 13:02:06
* @Entity cn.tedu.ivos.user/entity.User
*/
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByUsernameAndPassword(UserLoginParam userLoginParam);

    List<User> list();
}
